package cn.edward.camp.server.service;

import cn.edward.camp.idl.CampInfo;
import cn.edward.camp.idl.CampService;
import org.springframework.stereotype.Service;

@Service("cn.edward.camp.idl.CampService")
public class CampServiceImpl implements CampService {
    @Override
    public CampInfo getCampInfo(int term) {
        CampInfo info = new CampInfo();
        info.setParticipants(227);
        info.setTerm(term);
        info.setTeacher("KimKing");
        info.setTitle("Java Camp");
        return info;
    }
}
